dropdown: Make the stack nonhomogeneous
authorMatthias Clasen <mclasen@redhat.com>
Fri, 12 Jun 2020 03:24:36 +0000 (23:24 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 12 Jun 2020 12:49:01 +0000 (08:49 -0400)
Without this, the (None) in the empty page forces
the button to have a large minimum width, even when
we don't put a widget in it.

gtk/ui/gtkdropdown.ui

index 650d159e4e13dc674faa0b4db34f1707dc7cd1e6..fdd84ddaf2fa2cec31a1be2c2735c5c48c98e36c 100644 (file)
@@ -11,6 +11,7 @@
               <object class="GtkStack" id="button_stack">
                 <property name="halign">fill</property>
                 <property name="hexpand">1</property>
+                <property name="hhomogeneous">0</property>
                 <child>
                   <object class="GtkStackPage">
                     <property name="name">empty</property>